Carbon


GetNewWindow

Header: MacWindows.h Carbon status: Supported

Creates a new monochrome window from a window resource.

WindowRef GetNewWindow (
    SInt16 windowID, 
    void *wStorage, 
    WindowRef behind
);
windowID
wStorage
behind
DISCUSSION

The GetNewWindow function was originally implemented prior to Color QuickDraw. In Mac OS 8, you should call the Color QuickDraw function GetNewCWindow instead of GetNewWindow to programmatically create a window, because Color QuickDraw is always available in Mac OS 8. Use of this function is not recommended with Mac OS 8 and later.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)